package com.arcadia.d2.hero_attributes.attack;

public class Crit {

	private double[] crits = new double[2];

	public double[] getCrits(){
		return crits;
	}
	
	public void setCrits(int critChance, int critDamage){
		crits[0]=critChance;
		crits[1]=critDamage;
	}
	
	public double damageIncrease(double[] crits){
		double damageIncrease = crits[0]*crits[1]+(1-crits[0]);
		return damageIncrease;
	}
	
}
